-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
M3-139 엔티티 다시 세팅하기 #5
Conversation
@@ -20,7 +16,8 @@ | |||
|
|||
@Getter | |||
@Entity | |||
@Table(name = "pixel", indexes = @Index(name = "index__x__y", columnList = "x, y")) | |||
@Table(name = "pixel") | |||
// , indexes = @Index(name = "index__x__y", columnList = "x, y")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
주석은 지우는게 어떨까요??
package com.m3pro.groundflip.domain.entity;import java.util.Date;import com.m3pro.groundflip.domain.entity.global.BaseTimeEntity;import com.m3pro.groundflip.enums.Gender;import com.m3pro.groundflip.enums.Provider;import jakarta.persistence.Column;import jakarta.persistence.Entity;import jakarta.persistence.GeneratedValue;import jakarta.persistence.GenerationType;import jakarta.persistence.Id;import jakarta.persistence.Table;import jakarta.validation.constraints.Email;import jakarta.validation.constraints.Pattern;import lombok.AccessLevel;import lombok.AllArgsConstructor;import lombok.Builder;import lombok.Getter;import lombok.NoArgsConstructor;@Getter@Entity@Table(name = "user")@NoArgsConstructor(access = AccessLevel.PROTECTED)@AllArgsConstructor@Builderpublic class User extends BaseTimeEntity { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name = "user_id") private Long id; @Pattern(regexp = "[가-힣a-zA-Z0-9]{3,10}", message = "닉네임은 한글, 영어, 숫자를 조합해 3글자 이상, 10글자 이하입니다.") private String nickname; private Date birthYear; private Gender gender; private Provider provider; @Email private String email; private Date deletedAt;} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^M 고쳐야될것같아요~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ERD 잘 고친 것 같네요~ 수고하셨습니다
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
엔티티 테이블 변수명이 잘 만들어 진것 같습니다
3f4b994
to
879ba3d
Compare
📝 테스트 커버리지 리포트
|
Qodana for JVMIt seems all right 👌 No new problems were found according to the checks applied 💡 Qodana analysis was run in the pull request mode: only the changed files were checked Contact Qodana teamContact us at [email protected]
|
작업 내용*
고민한 내용*
리뷰 요구사항